package com.ttg.model.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ttg.common.config.LocalDateTimeDeserializer;
import com.ttg.common.config.LocalDateTimeSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zhangjie
 * @date 2021/3/16 13:54
 */
@Data
public class ConditionTipsVo implements Serializable {
    private static final long serialVersionUID = -8110339548538401941L;
    /**
     * 自增主键
     */
    @JsonProperty("id")
    private Long id;

    /**
     * 字段名称
     */
    @JsonProperty(value = "conditions_name")
    private String conditionsName;

    /**
     * 字段分类名称
     */
    @JsonProperty(value = "class_name")
    private String className;


    /**
     * 备注
     */
    @JsonProperty(value = "tips")
    private String tips;

    /**
     * 修改时间
     */
    @JsonProperty(value = "tips_upd_time")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime tipsUpdTime;
}
